package cn.wolfcode.service;

import cn.wolfcode.domain.SystemDictionary;
import cn.wolfcode.qo.QueryObject;
import cn.wolfcode.qo.SystemDictionaryQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface ISystemDictionaryService {

    void insert(SystemDictionary systemDictionary) ;

    void delete(Long id) ;

    void update(SystemDictionary systemDictionary) ;

    SystemDictionary selectById(Long id) ;

    List<SystemDictionary> selectAll();

    PageInfo<SystemDictionary> query(SystemDictionaryQueryObject qo);

    List<Map> queryTreeData();

    List<SystemDictionary> selectByBs(String business);

    //查询指定父id
    List<SystemDictionary> queryByParentId(Long parentId);


}
